package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.AgencyInfo;
import cn.wolfcode.crm.query.AgencyInfoQueryObject;
import cn.wolfcode.crm.query.PageResult;

import java.util.List;

public interface IAgencyInfoService {
    int deleteByPrimaryKey(Long id);

    int insert(AgencyInfo record);

    AgencyInfo selectByPrimaryKey(Long id);

    List<AgencyInfo> selectAll();

    int updateByPrimaryKey(AgencyInfo record);


    PageResult query(AgencyInfoQueryObject qo);

    void changeState(Long id);
}
